compute: add response to OUTPUT
authorJoey Hess <joeyh@joeyh.name>
Fri, 7 Mar 2025 18:47:34 +0000 (14:47 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 7 Mar 2025 18:47:34 +0000 (14:47 -0400)
commit81ce4264dff09b00067e71eb9af0022118595558
tree8ca679fe43173e95eb37ae4c8aa857371e5e25da
parent6a8e57f0e9f3c06359293b074539ae20d849bc81
compute: add response to OUTPUT

This allows rejecting output filenames that are outside the repository,
and also handles converting eg "-foo" to "./-foo" to prevent a command
that it's passed to interpreting the output filename as a dashed option.
Remote/Compute.hs
Utility/SafeCommand.hs
doc/design/compute_special_remote_interface.mdwn
doc/special_remotes/compute/git-annex-compute-imageconvert